package notepad;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

public class ShowLinesNumberAction extends AbstractAction {

	private static final long serialVersionUID = 8369869963220335455L;
	
	private Notepad m_notepad;

	ShowLinesNumberAction(Notepad notepad) {
		m_notepad = notepad;
	}
	
	public void actionPerformed(ActionEvent ae) {
		FenetreInterne fenetreInterne = m_notepad.fenetreSelectionnee();
		MakeVisibleAction.toggleVisibility(fenetreInterne.ta2);
	}
}
